package com.wry.cloud.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * <h1>  <h1>
 *
 * @author 魏如元
 * @since 2022/9/12
 */
@FeignClient(value = "nacos-payment-provider")
public interface OrderMainService {

    @GetMapping("/payment/nacos/{id}")
    String getPayment(@PathVariable("id") Long id);
}
